<!--
 * @Author: zk
 * @Date: 2021-01-22 10:29:13
 * @LastEditors: zk
 * @LastEditTime: 2021-01-22 12:33:12
 * @Description:
-->

<template>
  <div class="show">

    <el-select
      v-model="model.isDoctorCheck"
      placeholder="请选择"
      :style="{ width: '100px' }"
      @change="SelectValue($event)"
    >
      <el-option
        v-for="op in option"
        :key="op.value"
        :label="op.label"
        :value="op.value"
      />
    </el-select>
    <el-input v-model="key" class="input" :style="{ width: '100px' }" placeholder="" />
  </div>
</template>

<script>
// 加载模拟数据
import { checkType, examineType } from '@/simdata/healthData.js'
export default {
  name: 'PhysicalExamination',
  props: {
    model: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      option: [
        { label: '录入人员', value: 1 },
        { label: '责任医生', value: 2 }
      ],
      examineOption: examineType,
      examineD: true,
      key: ''
    }
  },
  methods: {
    SelectValue(val) {
      this.model.isDoctorCheck = val
    },
    SelectYearValue(val) {
      console.log(val)
      this.model.examine = val
    }
  }
}
</script>

<style lang="scss" scoped>
.show{
  white-space: nowrap;
}
.input{
  margin-left: 10;
}
.status{
  margin-left: 10px;
  line-height: 28px;
  vertical-align: middle;
  font-weight: 700;
  color: #606266;
}

</style>
